#ifndef CONNECTDIALOG_H
#define CONNECTDIALOG_H
// 连接服务端的对话框
#include <QDialog>
#include <QMessageBox>
#include <QPushButton>

namespace Ui {
class ConnectDialog;
}

class ConnectDialog : public QDialog
{
    Q_OBJECT
    friend class DrawClient;

public:
    explicit ConnectDialog(QWidget *parent = nullptr);
    ~ConnectDialog();
    void showWarning();

private:
    Ui::ConnectDialog *ui;
    QMessageBox *warningBox{};
};

#endif // CONNECTDIALOG_H
